import request from '@/utils/request'

const LApi = {
  list: '/group/list',
  save: '/group/save',
  queryGroupPipeline: '/group/queryGroupPipeline'
}

export function queryGroupPipeline (data) {
  return request({
    url: LApi.queryGroupPipeline,
    method: 'get',
    params: data
  })
}

export function getGroupList (data) {
  return request({
    url: LApi.list,
    method: 'get',
    params: data
  })
}

export function saveGroup (data) {
  return request({
    url: LApi.save,
    method: 'post',
    data: data
  })
}
